import com.opdar.athena.entities.MessageEntity;
import com.opdar.athena.entities.UserMigrateEntity;
import com.opdar.athena.messages.HeartbeatMessage;
import com.opdar.athena.messages.MigrateMessage;

/**
 * Created by shiju on 2017/7/4.
 */
public interface MessageCallback {
    void migrate(UserMigrateEntity migrateMessage);
    void heartbeat(HeartbeatMessage heartbeatMessage);
    void callback(MessageEntity message);
    void onClose();
}
